package crafex.engine.ai;

import crafex.engine.entities.Entity;
import crafex.engine.entities.Player;
import crafex.engine.tools.Tools;

public abstract class AI {
	
	public AI(){
		
	}
	
	/**
	 * do AI stuff to provided entity
	 * @param entity
	 */
	public void runAI(Entity entity, Player player){
		Tools.followX(entity.getCoordinates(), player.getCoordinates(), entity.getSpeed());
	}
}
